package com.zk.config.web.freemarker;

import java.util.List;
import com.zk.config.web.model.ZkCache;
import freemarker.template.TemplateMethodModelEx;
import freemarker.template.TemplateModelException;

public class IsUseCache implements TemplateMethodModelEx {

	@SuppressWarnings("rawtypes")
	@Override
	public Object exec(List arg0) throws TemplateModelException {
		return ZkCache.useCache?1:0;
	}

}
